package com.zzty.zzlp.entity;

public class Chat {
    private  Integer id;
    private  Integer fromId;
    private  Integer toId;
    private  String time;
    private  String msg;
    private  Integer isGroup;
    private  Integer state;
    private  Integer groupId;
    private  String type;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getFromId() {
        return fromId;
    }

    public void setFromId(Integer fromId) {
        this.fromId = fromId;
    }

    public Integer getToId() {
        return toId;
    }

    public void setToId(Integer toId) {
        this.toId = toId;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getIsGroup() {
        return isGroup;
    }

    public void setIsGroup(Integer isGroup) {
        this.isGroup = isGroup;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Chat{" +
                "id=" + id +
                ", fromId=" + fromId +
                ", toId=" + toId +
                ", time='" + time + '\'' +
                ", msg='" + msg + '\'' +
                ", isGroup=" + isGroup +
                ", state=" + state +
                ", groupId=" + groupId +
                ", type='" + type + '\'' +
                '}';
    }


}
